package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.ProductKeywordMapper;
import com.university.trade.entity.ProductKeyword;
import com.university.trade.service.ProductKeywordService;

public class ProductKeywordServiceImpl implements ProductKeywordService {
	@Resource
	private ProductKeywordMapper productKeywordMapper;
	@Override
	public int deleteByPrimaryKey(String keywordId) {
		return this.productKeywordMapper.deleteByPrimaryKey(keywordId);
	}

	@Override
	public int insert(ProductKeyword record) {
		return this.productKeywordMapper.insert(record);
	}

	@Override
	public int insertSelective(ProductKeyword record) {
		return this.productKeywordMapper.insertSelective(record);
	}

	@Override
	public ProductKeyword selectByPrimaryKey(String keywordId) {
		return this.productKeywordMapper.selectByPrimaryKey(keywordId);
	}

	@Override
	public int updateByPrimaryKeySelective(ProductKeyword record) {
		return this.productKeywordMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ProductKeyword record) {
		return this.productKeywordMapper.updateByPrimaryKey(record);
	}

}
